<?php
if(  count( $this->locations ) ):
    foreach( $this->locations AS $location ) : ?>
        <tr class="selectable <?php echo $this->selected == $location['location_id'] ? 'selected' : '' ?>" id="location_<?php echo $location['location_id'] ?>">
    	<th>
	    <span><?php echo $location['location_name'] ?></span>
    	</th>
    	<td title="<?php echo $location['location_city'] ?>">
    	    <span><?php echo $location['location_city'] ?></span>
    	    <span>(<?php echo $location['province_short_name'] ?>)</span>
    	</td>
    	<td title="Operazioni">
    	    <span class="actions">
                <img src="/images/admin/tick.png"/>
<!--		<a class="link" id="link-location-<?php echo $location['location_id']?>" href="#">Associa</a>-->
    	    </span>
    	</td>
        </tr>
<?php endforeach;
else:
    ?><tr class="result"><td colspan="5">Nessun elemento presente...</td></tr> <?php	
endif;?>